package cn.com.surker.sale.dao;

import cn.com.surker.sale.entity.SaleStrengthAdjustPrice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 销售合同信息标号调整价 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-08-01
 */
public interface SaleStrengthAdjustPriceDao extends BaseMapper<SaleStrengthAdjustPrice> {

    /**
     * 根据基础强度查询是否存在
     * @param orgId
     * @param contractId
     * @param strength
     * @return
     */
    SaleStrengthAdjustPrice findStrength(Long orgId, Long contractId, String strength, Integer type);


    Integer saveBatch(List<SaleStrengthAdjustPrice> list);

}
